{include file="grpadminmenu.tpl"}
<fieldset><legend>处理加入小组申请</legend>
<span id="nouser" style="color:red">{$nouserhint}</span><br />
<form action="" method="POST">
	<div id="searchresult">
		<table  cellpadding="1" border="0" width="100%">
			{section name=nr loop=$userlist}
			<tr >	
				<td style="border-bottom:1px solid #ccc;"><a href = "user.php?login={$userlist[nr].user_login}" target="_blank"><img src="{$userlist[nr].Avatar}" align="absmiddle"/> {$userlist[nr].user_names}</a></td>
				<td style="border-bottom:1px solid #ccc;">
					<!--<input type="button" value="alert" onclick="window.alert('ok')" />-->
					<input type="button" value=" 同意加入小组:)" id="reco" name="reco" style="text-decoration:none;background:#fff;border:1px solid #ccc;margin-right:1px;padding:2px 5px;color:#774525;" onmouseover="this.style.background='#774525';this.style.color='#fff';" onmouseout="this.style.background='#fff';this.style.color='#774525';" onclick="grpdealuserstate({$userlist[nr].user_id},{$grp_id},'approved')" />
					<input type="button" value=" 拒绝加入小组:)" id="reco" name="reco" style="text-decoration:none;background:#fff;border:1px solid #ccc;margin-right:1px;padding:2px 5px;color:#774525;" onmouseover="this.style.background='#774525';this.style.color='#fff';" onmouseout="this.style.background='#fff';this.style.color='#774525';" onclick="grpdealuserstate({$userlist[nr].user_id},{$grp_id},'apply_denied')" />
				</td>
				<td style="border-bottom:1px solid #ccc;"><span id="hint-{$userlist[nr].user_id}"></span></td>
			</tr>
			{/section}
		</table>

		<input type="hidden" id="cur_page" name="cur_page" value={$cur_page} />
		<input type="hidden" id="page" name="page" value={$cur_page} />
		<input type="hidden" name="grp_id" value={$grp_id}>
		<input type="hidden" name="doing" value="dealapply">
{php} 
Global $db, $main_smarty, $rows, $top_users_size, $offset;
submit_user_do_pages($rows, $top_users_size, ''); 
{/php}
</div><!--this </div>is for the <div> from submit_user_do_pages()-->
</div>
</form>
</fieldset>
